﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Forget.HRBLL.Model;
using Forget.Data;

namespace Forget.HRBLL.Logical
{
    public class DictLogical
    {
        public static bool AddDict(string name, int type, int order)
        {
            if (!string.IsNullOrEmpty(name) && type > 0)
            {
                Dict d = new Dict() { Name = name, Type = type, Order = order };
                return Dict.AddDict(d);
            }
            return false;
        }
    }
}